/**
 *  The Graphic Device that will end up paining in the Java 2D Canvas
 *
 *  Copyright (c) 2009 Daniel Kornhauser.  All rights reserved.
 *  @author Daniel Kornhauser
 */

import org.rosuda.javaGD.GDInterface;

//Refer to http://www.wojtek.njh6.de/Ddocs/Djri/jri.html or in the pdf docs directory
public class GD extends GDInterface
{
  /**
   * This is nice, huh? We don't need to create any frames or anything. Just 
   * set c to the GDCanvas that we want R to plot to (in this case the GDCanvas
   * from the SweepViewApp JFrame), and we're good!
   */
  public void gdOpen(double w, double h)
  {
    c = SweepViewGui.gdc;
  }
}